@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="reach" value="">
            <input type="hidden" id="revisitStatus" value="">
            <input type="hidden" id="revisitTimeTwo" value="">
            <input type="hidden" id="menuName" value="市场-TC回访">
        </div>
        <div class="numStatistics">
            <div><div id="totalAllNumber" onclick="TcRevisit.totalAllNumber('')">总数</div></div>
            <div onclick="TcRevisit.totalAllNumber('1')">待计划</div>
            <div onclick="TcRevisit.totalAllNumber('2')">已完成</div>
            <div style="display: none" onclick="TcRevisit.totalAllNumber('3')">未完成</div>
            <div style="display: none" onclick="TcRevisit.totalAllNumber('4')">取消</div>
            <div id="zoom">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none">
                <span>条件展开</span>
            </div>
        </div>
        <div class="divFlex" style="display: none">
            <div class="flex_one">
                <div>回访人员</div>
                <div>跟踪状态</div>
                <div>消费状态</div>
                <div style="flex: 2;">完成时间</div>
            </div>
            <div class="flex_two">
                <div>
                    <select id="revisit" onchange="TcRevisit.search()">
                        <option value="">请选择</option>
                        @for(str in tcList){
                        <option value="${str.tcName}">${str.tcName}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select id="followStatus" onchange="TcRevisit.search()">
                        <option value="">全部</option>
                        <option value="跟踪中">跟踪中</option>
                        <option value="跟踪完成">跟踪完成</option>
                        <option value="跟踪结束">跟踪结束</option>
                    </select>
                </div>
                <div>
                    <select id="consumptionStatus" onchange="TcRevisit.search()">
                        <option value="">全部</option>
                        <option value="未消费">未消费</option>
                        <option value="只交储值">只交储值</option>
                        <option value="未完成">未完成</option>
                        <option value="完成">完成</option>
                    </select>
                </div>
                <div>
                    <input type="text" id="startUpdateTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div>
                    <input type="text" id="endUpdateTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
            </div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>回访时间</span>
                    <input type="text" id="startRevisitTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" id="endRevisitTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
                <div style="margin-left: 20px;">
                    <button type="button" class="btn" onclick="TcRevisit.today()">今日</button>
                    <button type="button" class="btn" onclick="TcRevisit.tomorrow()">明日</button>
                    <button type="button" class="btn" onclick="TcRevisit.thisWeek()">本周</button>
                </div>
                <div style="margin-left: 20px;">
                    <span>创建时间</span>
                    <input type="text" id="startTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" id="endTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="TcRevisit.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="TcRevisit.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>刷新</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox"><#table id="TcRevisitTable"/></div>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/res_revisits.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/marketing/reservations/marketSearchContent.js?v=20200718"></script>
@}